package com.hdu.constant;

public class SqlTemplate {

    public static final String INSERT_TASK
            = "INSERT INTO task(task_name, priority, task_param, execute_time) VALUES(%s, %s, %s, %s)";

    public static final String DELETE_TASK
            = "DELETE FROM task WHERE id = %s";


    public static final String QUERY_SQL
            = "SELECT * from task WHERE id = %s";

    public static final String TIME_CONDITION_QUERY_SQL
            = "SELECT * from task WHERE execute_time >= %s AND execute_time <= %s";
}
